using SharedKernel;

namespace Domain.Users.Events;

/// <summary>
/// 用户注册事件
/// </summary>
public sealed class UserRegisteredEvent(
    Guid userId,
    string email,
    string firstName,
    string lastName,
    DateTime registeredAt) : DomainEvent
{
    public Guid UserId { get; } = userId;
    public string Email { get; } = email;
    public string FirstName { get; } = firstName;
    public string LastName { get; } = lastName;
    public DateTime RegisteredAt { get; } = registeredAt;
}
